package com.example.sandbox.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * mchApp + mchInfo
 *
 * @author pengzhen
 * @date 2024/10/17 10:08
 */

@Data
public class MchRedisContext {

    //================= MchApp =================
    @JSONField(name = "appId")
//    @ApiModelProperty("应用ID")
    private String appId;

    @JSONField(name = "appName")
//    @ApiModelProperty("应用名称")
    private String appName;

    @JSONField(name = "state")
//    @ApiModelProperty("应用状态: 0-停用, 1-正常")
    private Byte state;

    @JSONField(name = "appSecret")
//    @ApiModelProperty("应用私钥")
    private String appSecret;

    @JSONField(name = "mchNo")
    //================= MchInfo =================
    private String mchNo;

    @JSONField(name = "createdAt")
    private Date createdAt;

    @JSONField(name = "updatedAt")
    private Date updatedAt;

    @JSONField(name = "agentNo")
//    @ApiModelProperty("父级代理商编码")
    private String agentNo;

    @JSONField(name = "mchName")
//    @ApiModelProperty("商户名称")
    private String mchName;

    @JSONField(name = "mchShortName")
//    @ApiModelProperty("商户简称")
    private String mchShortName;

    @JSONField(name = "industry")
//    @ApiModelProperty("行业")
    private String industry;

    @JSONField(name = "contactRealName")
//    @ApiModelProperty("联系人真实姓名")
    private String contactRealName;

    @JSONField(name = "contact")
//    @ApiModelProperty("联系方式")
    private String contact;

    @JSONField(name = "country")
//    @ApiModelProperty("国家")
    private String country;

    @JSONField(name = "email")
//    @ApiModelProperty("邮箱")
    private String email;

    @JSONField(name = "contactAddress")
//    @ApiModelProperty("联系地址")
    private String contactAddress;

    @JSONField(name = "status")
//    @ApiModelProperty("商户状态: -2审核不通过, -1-待审核, 0-停用, 1-正常")
    private Integer status;

    @JSONField(name = "signStatus")
//    @ApiModelProperty("签约状态: 0-待补充资料, 1-待签约, 2-已签约")
    private Integer signStatus;

    @JSONField(name = "initUserId")
//    @ApiModelProperty("初始用户ID（创建商户时，允许商户登录的用户）")
    private Long initUserId;

    @JSONField(name = "remark")
//    @ApiModelProperty("商户备注")
    private String remark;

    @JSONField(name = "ipWhiteList")
//    @ApiModelProperty("请求IP白名单")
    private String ipWhiteList;

    @JSONField(name = "notifyHostWhiteList")
//    @ApiModelProperty("异步通知域名白名单")
    private String notifyHostWhiteList;


}
